#pragma once

#include "master.h"

#include "entity.h"

#include "ofx3DModelLoader.h"

//--------------------------------------------------------------------------------------------------
// EntProp.h - A prop type that can render a .3ds model file
//--------------------------------------------------------------------------------------------------

class EntProp : public Entity
{
public:
	EntProp();
	EntProp(ofxXmlSettings &xml);

	void customDraw();
	void save(ofxXmlSettings &xml);
	void fixup();

	Entity* copy();

	ofColour colour;

	string fileName;

	//3ds model
	ofx3DModelLoader model;
};

//--------------------------------------------------------------------------------------------------

Entity* entProp_create(ofxXmlSettings &xml);

//--------------------------------------------------------------------------------------------------
